package utils.load
{
	import flash.net.URLLoader;
	import flash.net.URLRequest;

	public class SURLLoader extends URLLoader
	{
		public function SURLLoader(request:URLRequest=null)
		{
			if(request){
			   request.url=LoaderManager.urlFormat(request.url);
			}
			super(request);
		    LoaderManager.addTask(this);
		}
		override public function load(request:URLRequest):void{
			request.url=LoaderManager.urlFormat(request.url);
			super.load(request);
		}
	}
}